package leader.action;

import teacher.bean.Teacher;

import com.opensymphony.xwork2.ActionContext;

public class ToUpdatePasswordAction {
	private Teacher teacher;
	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public String execute() {
		teacher=(Teacher) ActionContext.getContext().getSession().get("leader");
		return "success";
	}
}
